
//require('date-utils');

var date = new Date();

//打印日志函数
exports.printLog = function(title, userIds, data, des, error){
    var year = date.getFullYear();
    var month = date.getMonth()+1;
    var day = date.getDate();
    var hour = date.getHours();
    var minute = date.getMinutes();
    var second = date.getSeconds();
    var date_format = year+'年'+month+'月'+day+'日 '+hour+':'+minute+':'+second;
    console.log(date_format, ' title: ' , title ,' user id: ', userIds,' data: ', data, ' description: ', des, ' error: ', error);
}
